package cn.hs.service.impl;

import cn.hs.entity.ConsultSpecialty;
import cn.hs.mapper.ConsultSpecialtyMapper;
import cn.hs.service.ConsultSpecialtyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @ClassName ConsultSpecialtyServiceImpl
 * @Description TODO
 * @Author yyk
 * @Date 2024年10月24日 21:21
 * @Version 1.0
 */

@Service
public class ConsultSpecialtyServiceImpl implements ConsultSpecialtyService {
    @Autowired
    private ConsultSpecialtyMapper consultSpecialtyMapper;
    @Override
    public int insert(ConsultSpecialty record) {
        return consultSpecialtyMapper.insert(record);
    }

    @Override
    public int delete(Integer consultid, Integer specialtyid) {
        return consultSpecialtyMapper.delete(consultid, specialtyid);
    }
}
